    <?php echo form_tag_for($listCountriesForm,$listCountriesForm->getUrl())?>
    <?php echo $listCountriesForm['iden']->renderError()?>
    <?php echo $listCountriesForm['iden']?>
    <?php echo $listCountriesForm->renderGlobalErrors()?>
    <?php echo $listCountriesForm['_csrf_token']?>
    <table>
      <tbody>
        <tr>
          <th class="field">
            <?php echo $listCountriesForm['name']->renderLabel()?>
          </th>
          <td class="field">
            <?php echo $listCountriesForm['name']->renderError()?>
            <?php echo $listCountriesForm['name']?>
          </td>
          <th class="field">
            <?php echo $listCountriesForm['currency_name']->renderLabel()?>
          </th>
          <td class="field">
            <?php echo $listCountriesForm['currency_name']->renderError()?>
            <?php echo $listCountriesForm['currency_name']?>
          </td>
          <th class="field">
            <?php echo $listCountriesForm['currency_code']->renderLabel()?>
          </th>
          <td class="field">
            <?php echo $listCountriesForm['currency_code']->renderError()?>
            <?php echo $listCountriesForm['currency_code']?>
          </td>
        </tr>
      </tbody>
      <tfoot>
        <tr>
          <td class="form_buttons" colspan="6">
            <input type="submit" value="Save"/> 
            <?php if(! $listCountriesForm->isNew()):?>
              | 
              <?php 
                echo 
                  button_to(
                    'Reset',
                    'country/edit?iden='.$listCountriesForm->getObject()->getIden()
                  );
              ?>
              | 
              <?php 
                echo 
                  button_to(
                    'Delete',
                    $listCountriesForm->getDeleteUrl(),
                    array(
                      'confirm'=>'Delete country '.$listCountriesForm->getObject()->getName().'?',
                    )
                  );
              ?>
            <?php endif;?>
            |
            <?php echo button_to('Cancel','country/index')?>
          </td>
        </tr>
      </tfoot>
    </table>
  </form>
